﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Backend.JYD.BLL.Bid;
using Backend.JYD.Model.Bid;
using Backend.JYD.Common;
using Backend.JYD.RunTime;
using Backend.JYD.Model;

namespace Backend.JYD.Frontpage.Controllers
{
    public class InviteController : Controller
    {
        //
        // GET: /Invite/
        InviteInfoBLL bll = new InviteInfoBLL();
        public ActionResult Index(int? page)
        {
            if (!page.HasValue || page < 1) page = 1;
            PageInfo<InviteInfo> list = bll.GetRunInviteInfoByPage(new PageInfo() { PageIndex = (int)page, PageSize = 10 });
            
            
            return View(list);
        }

    }
}
